﻿using Architecture.Repository.Interface;
using Architeture.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Repository.Impl
{
    public class RoleMenuRepsitory : BaseRepository<RoleMenu>, IRoleMenuRepsitory
    {
        public RoleMenuRepsitory(EFCoreContext context) : base(context)
        {
        }
        public async Task<int> RoleMenuAdd(RoleMenu a)
        {
            return await base.AddAsync(a);
        }



        public async Task<List<RoleMenu>> GetAllAsync()
        {
            return await base.GetAllAsync();
        }



        public async Task<RoleMenu> GetModelAsync(int id)
        {
            return await base.GetModelAsync(id);
        }


    }
}
